
export type User = {
    id: number;
    username: string;
    password: string;
}

export type Investors = {
    id: number;
    investorName: string;
    phoneNumber: string;
    isCustomer: number;
    investmentType: string;
    investmentAmount: number;
    project: string;
    station: string;
    createdAt: string;
}


export type Customers = {
    id: number;
    login_account: string;
    customer_name: string;
    phone_number: string;
    is_investor: number;
    has_points: number;
    has_charging_card: number;
    account_level: string;
    real_name_verified: string;
    created_at: string;
}

export type Coupons = {
    id: number;
    coupon_name: string;
    coupon_type: string;
    face_value: number;
    valid_period: string;
    applicable_range: string;
    usage_conditions: string;
    status: string;
    created_at: string;
}

export type Invitations = {
    id: number;
    invitationCode: string;
    clientName: string;
    phoneNumber: string;
    invitedUsers: string;
    invitationEarnings: string;
    creationTime: string;
    selected: number;
}


export type Block = {
    sequence_number: number;
    group_name: string;
    group_type: string;
    duration: string;
    participant_count: number;
    publish_status: string;
    group_status: string;
    publish_time: string;
}

export type ChargingStations =  {
    id: string;
    sequenceNumber: number;
    stationName: string;
    stationAttribute: string;
    stationType: string;
    chargerCount: number;
    address: string;
    isRatingEnabled: number;
    createTime: string;
    status: string;
}

export type Records = {
    id: number;
    chargingOrderNumber: string;
    customerName: string;
    contactNumber: string;
    paymentMethod: string;
    consumptionAmount: number;
    chargingEnergy: number;
    chargingStationName: string;
    chargingPileNumber: string;
    transactionStatus: string;
}




